package com.stusy.blog.everythingcanblog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stusy.blog.everythingcanblog.bean.UserInfoPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author Xinpei Li
 * @create 2022-02-17 20:47
 */

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfoPo> {

    @Select("select * from UserInfo where userName = #{userName} ")
    UserInfoPo getByUserName(@Param("userName") String userName);

}
